package com.fay.mymiaosha.service;

import com.fay.mymiaosha.exception.BizException;
import com.fay.mymiaosha.service.model.UserModel;

/**
 * @Title:
 * @Description:
 * @Author Fay Wang
 * @Date 2022/3/14 22:18
 * @Version 1.0
 */
public interface IUserService {
    UserModel getUserById(Integer id);

    void register(UserModel userModel) throws BizException;

    UserModel validateLogin(String telephone, String password) throws BizException;
}
